<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>pyprocessing.attribs</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pyprocessing-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="pyprocessing-module.html">Package&nbsp;pyprocessing</a> ::
        Module&nbsp;attribs
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="pyprocessing.attribs-pysrc.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="pyprocessing.attribs-module.html">Module pyprocessing.attribs</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno">  1</tt>  <tt class="py-line"><tt class="py-comment">#************************</tt> </tt>
<a name="L2"></a><tt class="py-lineno">  2</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#  ATTRIBUTES</tt> </tt>
<a name="L3"></a><tt class="py-lineno">  3</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#************************          </tt> </tt>
<a name="L4"></a><tt class="py-lineno">  4</tt>  <tt class="py-line"><tt class="py-comment"></tt> </tt>
<a name="L5"></a><tt class="py-lineno">  5</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-0" class="py-name" targets="Module pyprocessing.globs=pyprocessing.globs-module.html"><a title="pyprocessing.globs" class="py-name" href="#" onclick="return doclink('link-0', 'globs', 'link-0');">globs</a></tt> <tt class="py-keyword">import</tt> <tt class="py-op">*</tt> </tt>
<a name="L6"></a><tt class="py-lineno">  6</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-1" class="py-name" targets="Module pyprocessing.constants=pyprocessing.constants-module.html"><a title="pyprocessing.constants" class="py-name" href="#" onclick="return doclink('link-1', 'constants', 'link-1');">constants</a></tt> <tt class="py-keyword">import</tt> <tt class="py-op">*</tt> </tt>
<a name="L7"></a><tt class="py-lineno">  7</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">pyglet</tt><tt class="py-op">.</tt><tt class="py-name">gl</tt> <tt class="py-keyword">import</tt> <tt class="py-op">*</tt> </tt>
<a name="L8"></a><tt class="py-lineno">  8</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-2" class="py-name" targets="Module pyprocessing.colors=pyprocessing.colors-module.html"><a title="pyprocessing.colors" class="py-name" href="#" onclick="return doclink('link-2', 'colors', 'link-2');">colors</a></tt> <tt class="py-keyword">import</tt> <tt id="link-3" class="py-name" targets="Function pyprocessing.colors._getColor()=pyprocessing.colors-module.html#_getColor"><a title="pyprocessing.colors._getColor" class="py-name" href="#" onclick="return doclink('link-3', '_getColor', 'link-3');">_getColor</a></tt> </tt>
<a name="L9"></a><tt class="py-lineno">  9</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-4" class="py-name" targets="Module pyprocessing.config=pyprocessing.config-module.html,Variable pyprocessing.globs.canvas.config=pyprocessing.globs.canvas-class.html#config"><a title="pyprocessing.config
pyprocessing.globs.canvas.config" class="py-name" href="#" onclick="return doclink('link-4', 'config', 'link-4');">config</a></tt> </tt>
<a name="L10"></a><tt class="py-lineno"> 10</tt>  <tt class="py-line"> </tt>
<a name="L11"></a><tt class="py-lineno"> 11</tt>  <tt class="py-line"><tt class="py-name">__all__</tt><tt class="py-op">=</tt><tt class="py-op">[</tt><tt class="py-string">'stroke'</tt><tt class="py-op">,</tt> <tt class="py-string">'noStroke'</tt><tt class="py-op">,</tt> <tt class="py-string">'strokeWeight'</tt><tt class="py-op">,</tt> <tt class="py-string">'fill'</tt><tt class="py-op">,</tt> <tt class="py-string">'noFill'</tt><tt class="py-op">,</tt> <tt class="py-string">'tint'</tt><tt class="py-op">,</tt> <tt class="py-string">'noTint'</tt><tt class="py-op">,</tt> </tt>
<a name="L12"></a><tt class="py-lineno"> 12</tt>  <tt class="py-line">         <tt class="py-string">'smooth'</tt><tt class="py-op">,</tt> <tt class="py-string">'noSmooth'</tt><tt class="py-op">,</tt> <tt class="py-string">'ellipseMode'</tt><tt class="py-op">,</tt> <tt class="py-string">'rectMode'</tt><tt class="py-op">,</tt> <tt class="py-string">'imageMode'</tt><tt class="py-op">,</tt> <tt class="py-string">'hint'</tt><tt class="py-op">,</tt> </tt>
<a name="L13"></a><tt class="py-lineno"> 13</tt>  <tt class="py-line">         <tt class="py-string">'texture'</tt><tt class="py-op">,</tt> <tt class="py-string">'textureMode'</tt><tt class="py-op">,</tt> <tt class="py-string">'strokeJoin'</tt><tt class="py-op">,</tt> <tt class="py-string">'strokeCap'</tt><tt class="py-op">]</tt> </tt>
<a name="L14"></a><tt class="py-lineno"> 14</tt>  <tt class="py-line">          </tt>
<a name="stroke"></a><div id="stroke-def"><a name="L15"></a><tt class="py-lineno"> 15</tt> <a class="py-toggle" href="#" id="stroke-toggle" onclick="return toggle('stroke');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyprocessing.attribs-module.html#stroke">stroke</a><tt class="py-op">(</tt><tt class="py-op">*</tt><tt class="py-param">color</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="stroke-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="stroke-expanded"><a name="L16"></a><tt class="py-lineno"> 16</tt>  <tt class="py-line">    <tt class="py-docstring">"""Sets color as color for drawing lines and shape borders."""</tt> </tt>
<a name="L17"></a><tt class="py-lineno"> 17</tt>  <tt class="py-line">    <tt id="link-5" class="py-name" targets="Class pyprocessing.globs.attrib=pyprocessing.globs.attrib-class.html"><a title="pyprocessing.globs.attrib" class="py-name" href="#" onclick="return doclink('link-5', 'attrib', 'link-5');">attrib</a></tt><tt class="py-op">.</tt><tt id="link-6" class="py-name" targets="Variable pyprocessing.globs.attrib.strokeColor=pyprocessing.globs.attrib-class.html#strokeColor"><a title="pyprocessing.globs.attrib.strokeColor" class="py-name" href="#" onclick="return doclink('link-6', 'strokeColor', 'link-6');">strokeColor</a></tt> <tt class="py-op">=</tt> <tt id="link-7" class="py-name"><a title="pyprocessing.colors._getColor" class="py-name" href="#" onclick="return doclink('link-7', '_getColor', 'link-3');">_getColor</a></tt><tt class="py-op">(</tt><tt class="py-op">*</tt><tt id="link-8" class="py-name" targets="Function pyprocessing.colors.color()=pyprocessing.colors-module.html#color"><a title="pyprocessing.colors.color" class="py-name" href="#" onclick="return doclink('link-8', 'color', 'link-8');">color</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L18"></a><tt class="py-lineno"> 18</tt>  <tt class="py-line"> </tt>
<a name="noStroke"></a><div id="noStroke-def"><a name="L19"></a><tt class="py-lineno"> 19</tt> <a class="py-toggle" href="#" id="noStroke-toggle" onclick="return toggle('noStroke');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyprocessing.attribs-module.html#noStroke">noStroke</a><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="noStroke-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="noStroke-expanded"><a name="L20"></a><tt class="py-lineno"> 20</tt>  <tt class="py-line">    <tt class="py-docstring">"""Omits line drawings"""</tt> </tt>
<a name="L21"></a><tt class="py-lineno"> 21</tt>  <tt class="py-line">    <tt id="link-9" class="py-name"><a title="pyprocessing.globs.attrib" class="py-name" href="#" onclick="return doclink('link-9', 'attrib', 'link-5');">attrib</a></tt><tt class="py-op">.</tt><tt id="link-10" class="py-name"><a title="pyprocessing.globs.attrib.strokeColor" class="py-name" href="#" onclick="return doclink('link-10', 'strokeColor', 'link-6');">strokeColor</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
</div><a name="L22"></a><tt class="py-lineno"> 22</tt>  <tt class="py-line">       </tt>
<a name="strokeWeight"></a><div id="strokeWeight-def"><a name="L23"></a><tt class="py-lineno"> 23</tt> <a class="py-toggle" href="#" id="strokeWeight-toggle" onclick="return toggle('strokeWeight');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyprocessing.attribs-module.html#strokeWeight">strokeWeight</a> <tt class="py-op">(</tt><tt class="py-param">weight</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="strokeWeight-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="strokeWeight-expanded"><a name="L24"></a><tt class="py-lineno"> 24</tt>  <tt class="py-line">    <tt class="py-docstring">"""Sets line width for drawing outline objects"""</tt> </tt>
<a name="L25"></a><tt class="py-lineno"> 25</tt>  <tt class="py-line">    <tt class="py-keyword">if</tt> <tt class="py-name">weight</tt><tt class="py-op">&lt;=</tt><tt class="py-number">0</tt><tt class="py-op">:</tt> <tt class="py-name">weight</tt><tt class="py-op">=</tt><tt class="py-number">0.001</tt> </tt>
<a name="L26"></a><tt class="py-lineno"> 26</tt>  <tt class="py-line">    <tt id="link-11" class="py-name"><a title="pyprocessing.globs.attrib" class="py-name" href="#" onclick="return doclink('link-11', 'attrib', 'link-5');">attrib</a></tt><tt class="py-op">.</tt><tt id="link-12" class="py-name" targets="Function pyprocessing.attribs.strokeWeight()=pyprocessing.attribs-module.html#strokeWeight,Variable pyprocessing.globs.attrib.strokeWeight=pyprocessing.globs.attrib-class.html#strokeWeight"><a title="pyprocessing.attribs.strokeWeight
pyprocessing.globs.attrib.strokeWeight" class="py-name" href="#" onclick="return doclink('link-12', 'strokeWeight', 'link-12');">strokeWeight</a></tt> <tt class="py-op">=</tt> <tt class="py-name">weight</tt> </tt>
</div><a name="L27"></a><tt class="py-lineno"> 27</tt>  <tt class="py-line"> </tt>
<a name="strokeCap"></a><div id="strokeCap-def"><a name="L28"></a><tt class="py-lineno"> 28</tt> <a class="py-toggle" href="#" id="strokeCap-toggle" onclick="return toggle('strokeCap');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyprocessing.attribs-module.html#strokeCap">strokeCap</a><tt class="py-op">(</tt><tt class="py-param">mode</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="strokeCap-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="strokeCap-expanded"><a name="L29"></a><tt class="py-lineno"> 29</tt>  <tt class="py-line">    <tt id="link-13" class="py-name"><a title="pyprocessing.globs.attrib" class="py-name" href="#" onclick="return doclink('link-13', 'attrib', 'link-5');">attrib</a></tt><tt class="py-op">.</tt><tt id="link-14" class="py-name" targets="Function pyprocessing.attribs.strokeCap()=pyprocessing.attribs-module.html#strokeCap,Variable pyprocessing.globs.attrib.strokeCap=pyprocessing.globs.attrib-class.html#strokeCap"><a title="pyprocessing.attribs.strokeCap
pyprocessing.globs.attrib.strokeCap" class="py-name" href="#" onclick="return doclink('link-14', 'strokeCap', 'link-14');">strokeCap</a></tt> <tt class="py-op">=</tt> <tt class="py-name">mode</tt> </tt>
</div><a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line"> </tt>
<a name="strokeJoin"></a><div id="strokeJoin-def"><a name="L31"></a><tt class="py-lineno"> 31</tt> <a class="py-toggle" href="#" id="strokeJoin-toggle" onclick="return toggle('strokeJoin');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyprocessing.attribs-module.html#strokeJoin">strokeJoin</a><tt class="py-op">(</tt><tt class="py-param">mode</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="strokeJoin-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="strokeJoin-expanded"><a name="L32"></a><tt class="py-lineno"> 32</tt>  <tt class="py-line">    <tt id="link-15" class="py-name"><a title="pyprocessing.globs.attrib" class="py-name" href="#" onclick="return doclink('link-15', 'attrib', 'link-5');">attrib</a></tt><tt class="py-op">.</tt><tt id="link-16" class="py-name" targets="Function pyprocessing.attribs.strokeJoin()=pyprocessing.attribs-module.html#strokeJoin,Variable pyprocessing.globs.attrib.strokeJoin=pyprocessing.globs.attrib-class.html#strokeJoin"><a title="pyprocessing.attribs.strokeJoin
pyprocessing.globs.attrib.strokeJoin" class="py-name" href="#" onclick="return doclink('link-16', 'strokeJoin', 'link-16');">strokeJoin</a></tt> <tt class="py-op">=</tt> <tt class="py-name">mode</tt> </tt>
</div><a name="L33"></a><tt class="py-lineno"> 33</tt>  <tt class="py-line">     </tt>
<a name="fill"></a><div id="fill-def"><a name="L34"></a><tt class="py-lineno"> 34</tt> <a class="py-toggle" href="#" id="fill-toggle" onclick="return toggle('fill');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyprocessing.attribs-module.html#fill">fill</a><tt class="py-op">(</tt><tt class="py-op">*</tt><tt class="py-param">color</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="fill-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="fill-expanded"><a name="L35"></a><tt class="py-lineno"> 35</tt>  <tt class="py-line">    <tt class="py-docstring">"""Sets color as color for drawing filled shapes."""</tt> </tt>
<a name="L36"></a><tt class="py-lineno"> 36</tt>  <tt class="py-line">    <tt id="link-17" class="py-name"><a title="pyprocessing.globs.attrib" class="py-name" href="#" onclick="return doclink('link-17', 'attrib', 'link-5');">attrib</a></tt><tt class="py-op">.</tt><tt id="link-18" class="py-name" targets="Variable pyprocessing.globs.attrib.fillColor=pyprocessing.globs.attrib-class.html#fillColor"><a title="pyprocessing.globs.attrib.fillColor" class="py-name" href="#" onclick="return doclink('link-18', 'fillColor', 'link-18');">fillColor</a></tt> <tt class="py-op">=</tt> <tt id="link-19" class="py-name"><a title="pyprocessing.colors._getColor" class="py-name" href="#" onclick="return doclink('link-19', '_getColor', 'link-3');">_getColor</a></tt><tt class="py-op">(</tt><tt class="py-op">*</tt><tt id="link-20" class="py-name"><a title="pyprocessing.colors.color" class="py-name" href="#" onclick="return doclink('link-20', 'color', 'link-8');">color</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L37"></a><tt class="py-lineno"> 37</tt>  <tt class="py-line"> </tt>
<a name="tint"></a><div id="tint-def"><a name="L38"></a><tt class="py-lineno"> 38</tt> <a class="py-toggle" href="#" id="tint-toggle" onclick="return toggle('tint');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyprocessing.attribs-module.html#tint">tint</a><tt class="py-op">(</tt><tt class="py-op">*</tt><tt class="py-param">color</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="tint-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="tint-expanded"><a name="L39"></a><tt class="py-lineno"> 39</tt>  <tt class="py-line">    <tt class="py-docstring">"""Sets color as a tint for drawing images."""</tt> </tt>
<a name="L40"></a><tt class="py-lineno"> 40</tt>  <tt class="py-line">    <tt id="link-21" class="py-name"><a title="pyprocessing.globs.attrib" class="py-name" href="#" onclick="return doclink('link-21', 'attrib', 'link-5');">attrib</a></tt><tt class="py-op">.</tt><tt id="link-22" class="py-name" targets="Variable pyprocessing.globs.attrib.tintColor=pyprocessing.globs.attrib-class.html#tintColor"><a title="pyprocessing.globs.attrib.tintColor" class="py-name" href="#" onclick="return doclink('link-22', 'tintColor', 'link-22');">tintColor</a></tt> <tt class="py-op">=</tt> <tt id="link-23" class="py-name"><a title="pyprocessing.colors._getColor" class="py-name" href="#" onclick="return doclink('link-23', '_getColor', 'link-3');">_getColor</a></tt><tt class="py-op">(</tt><tt class="py-op">*</tt><tt id="link-24" class="py-name"><a title="pyprocessing.colors.color" class="py-name" href="#" onclick="return doclink('link-24', 'color', 'link-8');">color</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L41"></a><tt class="py-lineno"> 41</tt>  <tt class="py-line">     </tt>
<a name="noTint"></a><div id="noTint-def"><a name="L42"></a><tt class="py-lineno"> 42</tt> <a class="py-toggle" href="#" id="noTint-toggle" onclick="return toggle('noTint');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyprocessing.attribs-module.html#noTint">noTint</a><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="noTint-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="noTint-expanded"><a name="L43"></a><tt class="py-lineno"> 43</tt>  <tt class="py-line">    <tt class="py-docstring">"""Undefines tint for drawing images."""</tt> </tt>
<a name="L44"></a><tt class="py-lineno"> 44</tt>  <tt class="py-line">    <tt id="link-25" class="py-name"><a title="pyprocessing.globs.attrib" class="py-name" href="#" onclick="return doclink('link-25', 'attrib', 'link-5');">attrib</a></tt><tt class="py-op">.</tt><tt id="link-26" class="py-name"><a title="pyprocessing.globs.attrib.tintColor" class="py-name" href="#" onclick="return doclink('link-26', 'tintColor', 'link-22');">tintColor</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
</div><a name="L45"></a><tt class="py-lineno"> 45</tt>  <tt class="py-line"> </tt>
<a name="noFill"></a><div id="noFill-def"><a name="L46"></a><tt class="py-lineno"> 46</tt> <a class="py-toggle" href="#" id="noFill-toggle" onclick="return toggle('noFill');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyprocessing.attribs-module.html#noFill">noFill</a><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="noFill-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="noFill-expanded"><a name="L47"></a><tt class="py-lineno"> 47</tt>  <tt class="py-line">    <tt class="py-docstring">"""Omits filled drawings"""</tt> </tt>
<a name="L48"></a><tt class="py-lineno"> 48</tt>  <tt class="py-line">    <tt id="link-27" class="py-name"><a title="pyprocessing.globs.attrib" class="py-name" href="#" onclick="return doclink('link-27', 'attrib', 'link-5');">attrib</a></tt><tt class="py-op">.</tt><tt id="link-28" class="py-name"><a title="pyprocessing.globs.attrib.fillColor" class="py-name" href="#" onclick="return doclink('link-28', 'fillColor', 'link-18');">fillColor</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
</div><a name="L49"></a><tt class="py-lineno"> 49</tt>  <tt class="py-line"> </tt>
<a name="texture"></a><div id="texture-def"><a name="L50"></a><tt class="py-lineno"> 50</tt> <a class="py-toggle" href="#" id="texture-toggle" onclick="return toggle('texture');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyprocessing.attribs-module.html#texture">texture</a><tt class="py-op">(</tt><tt class="py-param">filename</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="texture-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="texture-expanded"><a name="L51"></a><tt class="py-lineno"> 51</tt>  <tt class="py-line">    <tt id="link-29" class="py-name"><a title="pyprocessing.globs.attrib" class="py-name" href="#" onclick="return doclink('link-29', 'attrib', 'link-5');">attrib</a></tt><tt class="py-op">.</tt><tt id="link-30" class="py-name" targets="Function pyprocessing.attribs.texture()=pyprocessing.attribs-module.html#texture,Variable pyprocessing.globs.attrib.texture=pyprocessing.globs.attrib-class.html#texture"><a title="pyprocessing.attribs.texture
pyprocessing.globs.attrib.texture" class="py-name" href="#" onclick="return doclink('link-30', 'texture', 'link-30');">texture</a></tt> <tt class="py-op">=</tt> <tt class="py-name">filename</tt> </tt>
</div><a name="L52"></a><tt class="py-lineno"> 52</tt>  <tt class="py-line">     </tt>
<a name="smooth"></a><div id="smooth-def"><a name="L53"></a><tt class="py-lineno"> 53</tt> <a class="py-toggle" href="#" id="smooth-toggle" onclick="return toggle('smooth');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyprocessing.attribs-module.html#smooth">smooth</a><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="smooth-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="smooth-expanded"><a name="L54"></a><tt class="py-lineno"> 54</tt>  <tt class="py-line">    <tt class="py-docstring">"""Sets state so that lines are rendered antialiased."""</tt> </tt>
<a name="L55"></a><tt class="py-lineno"> 55</tt>  <tt class="py-line">    <tt id="link-31" class="py-name"><a title="pyprocessing.globs.attrib" class="py-name" href="#" onclick="return doclink('link-31', 'attrib', 'link-5');">attrib</a></tt><tt class="py-op">.</tt><tt id="link-32" class="py-name" targets="Function pyprocessing.attribs.smooth()=pyprocessing.attribs-module.html#smooth,Variable pyprocessing.globs.attrib.smooth=pyprocessing.globs.attrib-class.html#smooth"><a title="pyprocessing.attribs.smooth
pyprocessing.globs.attrib.smooth" class="py-name" href="#" onclick="return doclink('link-32', 'smooth', 'link-32');">smooth</a></tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt> </tt>
<a name="L56"></a><tt class="py-lineno"> 56</tt>  <tt class="py-line">    <tt id="link-33" class="py-name" targets="Variable pyprocessing.lights'.glEnable=pyprocessing.lights%27-module.html#glEnable"><a title="pyprocessing.lights'.glEnable" class="py-name" href="#" onclick="return doclink('link-33', 'glEnable', 'link-33');">glEnable</a></tt><tt class="py-op">(</tt><tt id="link-34" class="py-name" targets="Variable pyprocessing.lights'.GL_BLEND=pyprocessing.lights%27-module.html#GL_BLEND"><a title="pyprocessing.lights'.GL_BLEND" class="py-name" href="#" onclick="return doclink('link-34', 'GL_BLEND', 'link-34');">GL_BLEND</a></tt><tt class="py-op">)</tt> </tt>
<a name="L57"></a><tt class="py-lineno"> 57</tt>  <tt class="py-line">    <tt id="link-35" class="py-name" targets="Variable pyprocessing.lights'.glBlendFunc=pyprocessing.lights%27-module.html#glBlendFunc"><a title="pyprocessing.lights'.glBlendFunc" class="py-name" href="#" onclick="return doclink('link-35', 'glBlendFunc', 'link-35');">glBlendFunc</a></tt><tt class="py-op">(</tt><tt id="link-36" class="py-name" targets="Variable pyprocessing.lights'.GL_SRC_ALPHA=pyprocessing.lights%27-module.html#GL_SRC_ALPHA"><a title="pyprocessing.lights'.GL_SRC_ALPHA" class="py-name" href="#" onclick="return doclink('link-36', 'GL_SRC_ALPHA', 'link-36');">GL_SRC_ALPHA</a></tt><tt class="py-op">,</tt> <tt id="link-37" class="py-name" targets="Variable pyprocessing.lights'.GL_ONE_MINUS_SRC_ALPHA=pyprocessing.lights%27-module.html#GL_ONE_MINUS_SRC_ALPHA"><a title="pyprocessing.lights'.GL_ONE_MINUS_SRC_ALPHA" class="py-name" href="#" onclick="return doclink('link-37', 'GL_ONE_MINUS_SRC_ALPHA', 'link-37');">GL_ONE_MINUS_SRC_ALPHA</a></tt><tt class="py-op">)</tt> </tt>
<a name="L58"></a><tt class="py-lineno"> 58</tt>  <tt class="py-line">    <tt id="link-38" class="py-name"><a title="pyprocessing.lights'.glEnable" class="py-name" href="#" onclick="return doclink('link-38', 'glEnable', 'link-33');">glEnable</a></tt><tt class="py-op">(</tt><tt id="link-39" class="py-name" targets="Variable pyprocessing.lights'.GL_LINE_SMOOTH=pyprocessing.lights%27-module.html#GL_LINE_SMOOTH"><a title="pyprocessing.lights'.GL_LINE_SMOOTH" class="py-name" href="#" onclick="return doclink('link-39', 'GL_LINE_SMOOTH', 'link-39');">GL_LINE_SMOOTH</a></tt><tt class="py-op">)</tt> </tt>
<a name="L59"></a><tt class="py-lineno"> 59</tt>  <tt class="py-line">    <tt id="link-40" class="py-name"><a title="pyprocessing.lights'.glEnable" class="py-name" href="#" onclick="return doclink('link-40', 'glEnable', 'link-33');">glEnable</a></tt><tt class="py-op">(</tt><tt id="link-41" class="py-name" targets="Variable pyprocessing.lights'.GL_POINT_SMOOTH=pyprocessing.lights%27-module.html#GL_POINT_SMOOTH"><a title="pyprocessing.lights'.GL_POINT_SMOOTH" class="py-name" href="#" onclick="return doclink('link-41', 'GL_POINT_SMOOTH', 'link-41');">GL_POINT_SMOOTH</a></tt><tt class="py-op">)</tt> </tt>
<a name="L60"></a><tt class="py-lineno"> 60</tt>  <tt class="py-line">    <tt id="link-42" class="py-name"><a title="pyprocessing.lights'.glEnable" class="py-name" href="#" onclick="return doclink('link-42', 'glEnable', 'link-33');">glEnable</a></tt><tt class="py-op">(</tt><tt id="link-43" class="py-name" targets="Variable pyprocessing.lights'.GL_POLYGON_SMOOTH=pyprocessing.lights%27-module.html#GL_POLYGON_SMOOTH"><a title="pyprocessing.lights'.GL_POLYGON_SMOOTH" class="py-name" href="#" onclick="return doclink('link-43', 'GL_POLYGON_SMOOTH', 'link-43');">GL_POLYGON_SMOOTH</a></tt><tt class="py-op">)</tt> </tt>
<a name="L61"></a><tt class="py-lineno"> 61</tt>  <tt class="py-line">    <tt id="link-44" class="py-name" targets="Variable pyprocessing.lights'.glHint=pyprocessing.lights%27-module.html#glHint"><a title="pyprocessing.lights'.glHint" class="py-name" href="#" onclick="return doclink('link-44', 'glHint', 'link-44');">glHint</a></tt><tt class="py-op">(</tt><tt id="link-45" class="py-name" targets="Variable pyprocessing.lights'.GL_POLYGON_SMOOTH_HINT=pyprocessing.lights%27-module.html#GL_POLYGON_SMOOTH_HINT"><a title="pyprocessing.lights'.GL_POLYGON_SMOOTH_HINT" class="py-name" href="#" onclick="return doclink('link-45', 'GL_POLYGON_SMOOTH_HINT', 'link-45');">GL_POLYGON_SMOOTH_HINT</a></tt><tt class="py-op">,</tt> <tt id="link-46" class="py-name" targets="Variable pyprocessing.lights'.GL_NICEST=pyprocessing.lights%27-module.html#GL_NICEST"><a title="pyprocessing.lights'.GL_NICEST" class="py-name" href="#" onclick="return doclink('link-46', 'GL_NICEST', 'link-46');">GL_NICEST</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L62"></a><tt class="py-lineno"> 62</tt>  <tt class="py-line"> </tt>
<a name="noSmooth"></a><div id="noSmooth-def"><a name="L63"></a><tt class="py-lineno"> 63</tt> <a class="py-toggle" href="#" id="noSmooth-toggle" onclick="return toggle('noSmooth');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyprocessing.attribs-module.html#noSmooth">noSmooth</a><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="noSmooth-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="noSmooth-expanded"><a name="L64"></a><tt class="py-lineno"> 64</tt>  <tt class="py-line">    <tt class="py-docstring">"""Sets state so that lines are rendered quickly."""</tt> </tt>
<a name="L65"></a><tt class="py-lineno"> 65</tt>  <tt class="py-line">    <tt id="link-47" class="py-name"><a title="pyprocessing.globs.attrib" class="py-name" href="#" onclick="return doclink('link-47', 'attrib', 'link-5');">attrib</a></tt><tt class="py-op">.</tt><tt id="link-48" class="py-name"><a title="pyprocessing.attribs.smooth
pyprocessing.globs.attrib.smooth" class="py-name" href="#" onclick="return doclink('link-48', 'smooth', 'link-32');">smooth</a></tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
<a name="L66"></a><tt class="py-lineno"> 66</tt>  <tt class="py-line">    <tt id="link-49" class="py-name"><a title="pyprocessing.lights'.glEnable" class="py-name" href="#" onclick="return doclink('link-49', 'glEnable', 'link-33');">glEnable</a></tt><tt class="py-op">(</tt><tt id="link-50" class="py-name"><a title="pyprocessing.lights'.GL_BLEND" class="py-name" href="#" onclick="return doclink('link-50', 'GL_BLEND', 'link-34');">GL_BLEND</a></tt><tt class="py-op">)</tt> </tt>
<a name="L67"></a><tt class="py-lineno"> 67</tt>  <tt class="py-line">    <tt id="link-51" class="py-name"><a title="pyprocessing.lights'.glBlendFunc" class="py-name" href="#" onclick="return doclink('link-51', 'glBlendFunc', 'link-35');">glBlendFunc</a></tt><tt class="py-op">(</tt><tt id="link-52" class="py-name"><a title="pyprocessing.lights'.GL_SRC_ALPHA" class="py-name" href="#" onclick="return doclink('link-52', 'GL_SRC_ALPHA', 'link-36');">GL_SRC_ALPHA</a></tt><tt class="py-op">,</tt> <tt id="link-53" class="py-name"><a title="pyprocessing.lights'.GL_ONE_MINUS_SRC_ALPHA" class="py-name" href="#" onclick="return doclink('link-53', 'GL_ONE_MINUS_SRC_ALPHA', 'link-37');">GL_ONE_MINUS_SRC_ALPHA</a></tt><tt class="py-op">)</tt> </tt>
<a name="L68"></a><tt class="py-lineno"> 68</tt>  <tt class="py-line">    <tt id="link-54" class="py-name" targets="Variable pyprocessing.lights'.glDisable=pyprocessing.lights%27-module.html#glDisable"><a title="pyprocessing.lights'.glDisable" class="py-name" href="#" onclick="return doclink('link-54', 'glDisable', 'link-54');">glDisable</a></tt><tt class="py-op">(</tt><tt id="link-55" class="py-name"><a title="pyprocessing.lights'.GL_LINE_SMOOTH" class="py-name" href="#" onclick="return doclink('link-55', 'GL_LINE_SMOOTH', 'link-39');">GL_LINE_SMOOTH</a></tt><tt class="py-op">)</tt> </tt>
<a name="L69"></a><tt class="py-lineno"> 69</tt>  <tt class="py-line">    <tt id="link-56" class="py-name"><a title="pyprocessing.lights'.glDisable" class="py-name" href="#" onclick="return doclink('link-56', 'glDisable', 'link-54');">glDisable</a></tt><tt class="py-op">(</tt><tt id="link-57" class="py-name"><a title="pyprocessing.lights'.GL_POINT_SMOOTH" class="py-name" href="#" onclick="return doclink('link-57', 'GL_POINT_SMOOTH', 'link-41');">GL_POINT_SMOOTH</a></tt><tt class="py-op">)</tt> </tt>
<a name="L70"></a><tt class="py-lineno"> 70</tt>  <tt class="py-line">    <tt id="link-58" class="py-name"><a title="pyprocessing.lights'.glDisable" class="py-name" href="#" onclick="return doclink('link-58', 'glDisable', 'link-54');">glDisable</a></tt><tt class="py-op">(</tt><tt id="link-59" class="py-name"><a title="pyprocessing.lights'.GL_POLYGON_SMOOTH" class="py-name" href="#" onclick="return doclink('link-59', 'GL_POLYGON_SMOOTH', 'link-43');">GL_POLYGON_SMOOTH</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L71"></a><tt class="py-lineno"> 71</tt>  <tt class="py-line"> </tt>
<a name="textureMode"></a><div id="textureMode-def"><a name="L72"></a><tt class="py-lineno"> 72</tt> <a class="py-toggle" href="#" id="textureMode-toggle" onclick="return toggle('textureMode');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyprocessing.attribs-module.html#textureMode">textureMode</a><tt class="py-op">(</tt><tt class="py-param">mode</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="textureMode-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="textureMode-expanded"><a name="L73"></a><tt class="py-lineno"> 73</tt>  <tt class="py-line">    <tt class="py-docstring">"""Alters the meaning of the arguments of the ellipse function"""</tt> </tt>
<a name="L74"></a><tt class="py-lineno"> 74</tt>  <tt class="py-line">    <tt id="link-60" class="py-name"><a title="pyprocessing.globs.attrib" class="py-name" href="#" onclick="return doclink('link-60', 'attrib', 'link-5');">attrib</a></tt><tt class="py-op">.</tt><tt id="link-61" class="py-name" targets="Function pyprocessing.attribs.textureMode()=pyprocessing.attribs-module.html#textureMode,Variable pyprocessing.globs.attrib.textureMode=pyprocessing.globs.attrib-class.html#textureMode"><a title="pyprocessing.attribs.textureMode
pyprocessing.globs.attrib.textureMode" class="py-name" href="#" onclick="return doclink('link-61', 'textureMode', 'link-61');">textureMode</a></tt> <tt class="py-op">=</tt> <tt class="py-name">mode</tt> </tt>
</div><a name="L75"></a><tt class="py-lineno"> 75</tt>  <tt class="py-line"> </tt>
<a name="ellipseMode"></a><div id="ellipseMode-def"><a name="L76"></a><tt class="py-lineno"> 76</tt> <a class="py-toggle" href="#" id="ellipseMode-toggle" onclick="return toggle('ellipseMode');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyprocessing.attribs-module.html#ellipseMode">ellipseMode</a><tt class="py-op">(</tt><tt class="py-param">mode</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ellipseMode-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="ellipseMode-expanded"><a name="L77"></a><tt class="py-lineno"> 77</tt>  <tt class="py-line">    <tt class="py-docstring">"""Alters the meaning of the arguments of the ellipse function"""</tt> </tt>
<a name="L78"></a><tt class="py-lineno"> 78</tt>  <tt class="py-line">    <tt id="link-62" class="py-name"><a title="pyprocessing.globs.attrib" class="py-name" href="#" onclick="return doclink('link-62', 'attrib', 'link-5');">attrib</a></tt><tt class="py-op">.</tt><tt id="link-63" class="py-name" targets="Function pyprocessing.attribs.ellipseMode()=pyprocessing.attribs-module.html#ellipseMode,Variable pyprocessing.globs.attrib.ellipseMode=pyprocessing.globs.attrib-class.html#ellipseMode"><a title="pyprocessing.attribs.ellipseMode
pyprocessing.globs.attrib.ellipseMode" class="py-name" href="#" onclick="return doclink('link-63', 'ellipseMode', 'link-63');">ellipseMode</a></tt> <tt class="py-op">=</tt> <tt class="py-name">mode</tt> </tt>
</div><a name="L79"></a><tt class="py-lineno"> 79</tt>  <tt class="py-line">     </tt>
<a name="rectMode"></a><div id="rectMode-def"><a name="L80"></a><tt class="py-lineno"> 80</tt> <a class="py-toggle" href="#" id="rectMode-toggle" onclick="return toggle('rectMode');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyprocessing.attribs-module.html#rectMode">rectMode</a><tt class="py-op">(</tt><tt class="py-param">mode</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="rectMode-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="rectMode-expanded"><a name="L81"></a><tt class="py-lineno"> 81</tt>  <tt class="py-line">    <tt class="py-docstring">"""Alters the meaning of the arguments of the rectangle function"""</tt> </tt>
<a name="L82"></a><tt class="py-lineno"> 82</tt>  <tt class="py-line">    <tt id="link-64" class="py-name"><a title="pyprocessing.globs.attrib" class="py-name" href="#" onclick="return doclink('link-64', 'attrib', 'link-5');">attrib</a></tt><tt class="py-op">.</tt><tt id="link-65" class="py-name" targets="Function pyprocessing.attribs.rectMode()=pyprocessing.attribs-module.html#rectMode,Variable pyprocessing.globs.attrib.rectMode=pyprocessing.globs.attrib-class.html#rectMode"><a title="pyprocessing.attribs.rectMode
pyprocessing.globs.attrib.rectMode" class="py-name" href="#" onclick="return doclink('link-65', 'rectMode', 'link-65');">rectMode</a></tt> <tt class="py-op">=</tt> <tt class="py-name">mode</tt> </tt>
</div><a name="L83"></a><tt class="py-lineno"> 83</tt>  <tt class="py-line">     </tt>
<a name="imageMode"></a><div id="imageMode-def"><a name="L84"></a><tt class="py-lineno"> 84</tt> <a class="py-toggle" href="#" id="imageMode-toggle" onclick="return toggle('imageMode');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyprocessing.attribs-module.html#imageMode">imageMode</a><tt class="py-op">(</tt><tt class="py-param">mode</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="imageMode-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="imageMode-expanded"><a name="L85"></a><tt class="py-lineno"> 85</tt>  <tt class="py-line">    <tt class="py-docstring">"""Alters the meaning of the arguments of the image function"""</tt> </tt>
<a name="L86"></a><tt class="py-lineno"> 86</tt>  <tt class="py-line">    <tt id="link-66" class="py-name"><a title="pyprocessing.globs.attrib" class="py-name" href="#" onclick="return doclink('link-66', 'attrib', 'link-5');">attrib</a></tt><tt class="py-op">.</tt><tt id="link-67" class="py-name" targets="Function pyprocessing.attribs.imageMode()=pyprocessing.attribs-module.html#imageMode,Variable pyprocessing.globs.attrib.imageMode=pyprocessing.globs.attrib-class.html#imageMode"><a title="pyprocessing.attribs.imageMode
pyprocessing.globs.attrib.imageMode" class="py-name" href="#" onclick="return doclink('link-67', 'imageMode', 'link-67');">imageMode</a></tt> <tt class="py-op">=</tt> <tt class="py-name">mode</tt> </tt>
</div><a name="L87"></a><tt class="py-lineno"> 87</tt>  <tt class="py-line">     </tt>
<a name="hint"></a><div id="hint-def"><a name="L88"></a><tt class="py-lineno"> 88</tt> <a class="py-toggle" href="#" id="hint-toggle" onclick="return toggle('hint');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pyprocessing.attribs-module.html#hint">hint</a><tt class="py-op">(</tt><tt class="py-param">hintconst</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="hint-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="hint-expanded"><a name="L89"></a><tt class="py-lineno"> 89</tt>  <tt class="py-line">    <tt class="py-docstring">"""Sets/unsets configuration settings. </tt> </tt>
<a name="L90"></a><tt class="py-lineno"> 90</tt>  <tt class="py-line"><tt class="py-docstring">    * Depth testing can be set or unset using constants DISABLE_DEPTH_TEST and </tt> </tt>
<a name="L91"></a><tt class="py-lineno"> 91</tt>  <tt class="py-line"><tt class="py-docstring">      ENABLE_DEPTH_TEST (default=ON).</tt> </tt>
<a name="L92"></a><tt class="py-lineno"> 92</tt>  <tt class="py-line"><tt class="py-docstring">    * Polygon antialiasing can be turned on or off using ENABLE_POLYGON_SMOOTH </tt> </tt>
<a name="L93"></a><tt class="py-lineno"> 93</tt>  <tt class="py-line"><tt class="py-docstring">      and DISABLE_POLYGON_SMOOTH (default=OFF).</tt> </tt>
<a name="L94"></a><tt class="py-lineno"> 94</tt>  <tt class="py-line"><tt class="py-docstring">    * Flip policy can be selected using the constants DOUBLE_FLIP_POLICY, </tt> </tt>
<a name="L95"></a><tt class="py-lineno"> 95</tt>  <tt class="py-line"><tt class="py-docstring">      SINGLE_FLIP_POLICY, FBO_FLIP_POLICY and ACCUM_FLIP_POLICY</tt> </tt>
<a name="L96"></a><tt class="py-lineno"> 96</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="L97"></a><tt class="py-lineno"> 97</tt>  <tt class="py-line">    <tt class="py-keyword">if</tt> <tt class="py-name">hintconst</tt><tt class="py-op">==</tt><tt id="link-68" class="py-name" targets="Variable pyprocessing.constants.ENABLE_DEPTH_TEST=pyprocessing.constants-module.html#ENABLE_DEPTH_TEST,Variable pyprocessing.lights'.ENABLE_DEPTH_TEST=pyprocessing.lights%27-module.html#ENABLE_DEPTH_TEST"><a title="pyprocessing.constants.ENABLE_DEPTH_TEST
pyprocessing.lights'.ENABLE_DEPTH_TEST" class="py-name" href="#" onclick="return doclink('link-68', 'ENABLE_DEPTH_TEST', 'link-68');">ENABLE_DEPTH_TEST</a></tt><tt class="py-op">:</tt> </tt>
<a name="L98"></a><tt class="py-lineno"> 98</tt>  <tt class="py-line">        <tt id="link-69" class="py-name"><a title="pyprocessing.globs.attrib" class="py-name" href="#" onclick="return doclink('link-69', 'attrib', 'link-5');">attrib</a></tt><tt class="py-op">.</tt><tt id="link-70" class="py-name" targets="Variable pyprocessing.globs.attrib.depthTest=pyprocessing.globs.attrib-class.html#depthTest"><a title="pyprocessing.globs.attrib.depthTest" class="py-name" href="#" onclick="return doclink('link-70', 'depthTest', 'link-70');">depthTest</a></tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt> </tt>
<a name="L99"></a><tt class="py-lineno"> 99</tt>  <tt class="py-line">        <tt id="link-71" class="py-name" targets="Variable pyprocessing.lights'.glDepthFunc=pyprocessing.lights%27-module.html#glDepthFunc"><a title="pyprocessing.lights'.glDepthFunc" class="py-name" href="#" onclick="return doclink('link-71', 'glDepthFunc', 'link-71');">glDepthFunc</a></tt><tt class="py-op">(</tt><tt id="link-72" class="py-name" targets="Variable pyprocessing.lights'.GL_LEQUAL=pyprocessing.lights%27-module.html#GL_LEQUAL"><a title="pyprocessing.lights'.GL_LEQUAL" class="py-name" href="#" onclick="return doclink('link-72', 'GL_LEQUAL', 'link-72');">GL_LEQUAL</a></tt><tt class="py-op">)</tt> </tt>
<a name="L100"></a><tt class="py-lineno">100</tt>  <tt class="py-line">        <tt id="link-73" class="py-name"><a title="pyprocessing.lights'.glEnable" class="py-name" href="#" onclick="return doclink('link-73', 'glEnable', 'link-33');">glEnable</a></tt><tt class="py-op">(</tt><tt id="link-74" class="py-name" targets="Variable pyprocessing.lights'.GL_DEPTH_TEST=pyprocessing.lights%27-module.html#GL_DEPTH_TEST"><a title="pyprocessing.lights'.GL_DEPTH_TEST" class="py-name" href="#" onclick="return doclink('link-74', 'GL_DEPTH_TEST', 'link-74');">GL_DEPTH_TEST</a></tt><tt class="py-op">)</tt> </tt>
<a name="L101"></a><tt class="py-lineno">101</tt>  <tt class="py-line">    <tt class="py-keyword">elif</tt> <tt class="py-name">hintconst</tt><tt class="py-op">==</tt><tt id="link-75" class="py-name" targets="Variable pyprocessing.constants.DISABLE_DEPTH_TEST=pyprocessing.constants-module.html#DISABLE_DEPTH_TEST,Variable pyprocessing.lights'.DISABLE_DEPTH_TEST=pyprocessing.lights%27-module.html#DISABLE_DEPTH_TEST"><a title="pyprocessing.constants.DISABLE_DEPTH_TEST
pyprocessing.lights'.DISABLE_DEPTH_TEST" class="py-name" href="#" onclick="return doclink('link-75', 'DISABLE_DEPTH_TEST', 'link-75');">DISABLE_DEPTH_TEST</a></tt><tt class="py-op">:</tt> </tt>
<a name="L102"></a><tt class="py-lineno">102</tt>  <tt class="py-line">        <tt id="link-76" class="py-name"><a title="pyprocessing.globs.attrib" class="py-name" href="#" onclick="return doclink('link-76', 'attrib', 'link-5');">attrib</a></tt><tt class="py-op">.</tt><tt id="link-77" class="py-name"><a title="pyprocessing.globs.attrib.depthTest" class="py-name" href="#" onclick="return doclink('link-77', 'depthTest', 'link-70');">depthTest</a></tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt>
<a name="L103"></a><tt class="py-lineno">103</tt>  <tt class="py-line">        <tt id="link-78" class="py-name"><a title="pyprocessing.lights'.glDisable" class="py-name" href="#" onclick="return doclink('link-78', 'glDisable', 'link-54');">glDisable</a></tt><tt class="py-op">(</tt><tt id="link-79" class="py-name"><a title="pyprocessing.lights'.GL_DEPTH_TEST" class="py-name" href="#" onclick="return doclink('link-79', 'GL_DEPTH_TEST', 'link-74');">GL_DEPTH_TEST</a></tt><tt class="py-op">)</tt> </tt>
<a name="L104"></a><tt class="py-lineno">104</tt>  <tt class="py-line">    <tt class="py-keyword">elif</tt> <tt class="py-name">hintconst</tt> <tt class="py-keyword">in</tt> <tt class="py-op">(</tt><tt id="link-80" class="py-name" targets="Variable pyprocessing.constants.DOUBLE_FLIP_POLICY=pyprocessing.constants-module.html#DOUBLE_FLIP_POLICY,Variable pyprocessing.lights'.DOUBLE_FLIP_POLICY=pyprocessing.lights%27-module.html#DOUBLE_FLIP_POLICY"><a title="pyprocessing.constants.DOUBLE_FLIP_POLICY
pyprocessing.lights'.DOUBLE_FLIP_POLICY" class="py-name" href="#" onclick="return doclink('link-80', 'DOUBLE_FLIP_POLICY', 'link-80');">DOUBLE_FLIP_POLICY</a></tt><tt class="py-op">,</tt><tt id="link-81" class="py-name" targets="Variable pyprocessing.constants.SINGLE_FLIP_POLICY=pyprocessing.constants-module.html#SINGLE_FLIP_POLICY,Variable pyprocessing.lights'.SINGLE_FLIP_POLICY=pyprocessing.lights%27-module.html#SINGLE_FLIP_POLICY"><a title="pyprocessing.constants.SINGLE_FLIP_POLICY
pyprocessing.lights'.SINGLE_FLIP_POLICY" class="py-name" href="#" onclick="return doclink('link-81', 'SINGLE_FLIP_POLICY', 'link-81');">SINGLE_FLIP_POLICY</a></tt><tt class="py-op">,</tt> </tt>
<a name="L105"></a><tt class="py-lineno">105</tt>  <tt class="py-line">        <tt id="link-82" class="py-name" targets="Variable pyprocessing.constants.FBO_FLIP_POLICY=pyprocessing.constants-module.html#FBO_FLIP_POLICY,Variable pyprocessing.lights'.FBO_FLIP_POLICY=pyprocessing.lights%27-module.html#FBO_FLIP_POLICY"><a title="pyprocessing.constants.FBO_FLIP_POLICY
pyprocessing.lights'.FBO_FLIP_POLICY" class="py-name" href="#" onclick="return doclink('link-82', 'FBO_FLIP_POLICY', 'link-82');">FBO_FLIP_POLICY</a></tt><tt class="py-op">,</tt> <tt id="link-83" class="py-name" targets="Variable pyprocessing.constants.ACCUM_FLIP_POLICY=pyprocessing.constants-module.html#ACCUM_FLIP_POLICY,Variable pyprocessing.lights'.ACCUM_FLIP_POLICY=pyprocessing.lights%27-module.html#ACCUM_FLIP_POLICY"><a title="pyprocessing.constants.ACCUM_FLIP_POLICY
pyprocessing.lights'.ACCUM_FLIP_POLICY" class="py-name" href="#" onclick="return doclink('link-83', 'ACCUM_FLIP_POLICY', 'link-83');">ACCUM_FLIP_POLICY</a></tt><tt class="py-op">,</tt><tt id="link-84" class="py-name" targets="Variable pyprocessing.constants.BACKUP_FLIP_POLICY=pyprocessing.constants-module.html#BACKUP_FLIP_POLICY,Variable pyprocessing.lights'.BACKUP_FLIP_POLICY=pyprocessing.lights%27-module.html#BACKUP_FLIP_POLICY"><a title="pyprocessing.constants.BACKUP_FLIP_POLICY
pyprocessing.lights'.BACKUP_FLIP_POLICY" class="py-name" href="#" onclick="return doclink('link-84', 'BACKUP_FLIP_POLICY', 'link-84');">BACKUP_FLIP_POLICY</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L106"></a><tt class="py-lineno">106</tt>  <tt class="py-line">        <tt id="link-85" class="py-name"><a title="pyprocessing.config
pyprocessing.globs.canvas.config" class="py-name" href="#" onclick="return doclink('link-85', 'config', 'link-4');">config</a></tt><tt class="py-op">.</tt><tt id="link-86" class="py-name" targets="Variable pyprocessing.config.flipPolicy=pyprocessing.config-module.html#flipPolicy"><a title="pyprocessing.config.flipPolicy" class="py-name" href="#" onclick="return doclink('link-86', 'flipPolicy', 'link-86');">flipPolicy</a></tt><tt class="py-op">=</tt><tt class="py-name">hintconst</tt> </tt>
<a name="L107"></a><tt class="py-lineno">107</tt>  <tt class="py-line">    <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L108"></a><tt class="py-lineno">108</tt>  <tt class="py-line">        <tt class="py-keyword">raise</tt> <tt class="py-name">ValueError</tt><tt class="py-op">,</tt><tt class="py-string">"Unknown hint"</tt> </tt>
</div><a name="L109"></a><tt class="py-lineno">109</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pyprocessing-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Mon Jun 11 22:06:47 2012
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
